﻿

using Core.SimpleTemp.Common;
using Core.SimpleTemp.Entitys;
using Core.SimpleTemp.Entitys.Sys;
using Core.Toolkit.Core.Application;
using System;
using System.ComponentModel.DataAnnotations;

namespace Core.SimpleTemp.Application.UserApp
{
    [CreateMap(typeof(SysUserInfor))]
    public class SysUserInforDto : Dto
    {
        public Guid? SysUserID { get; set; }

        public String Name { get; set; }
        [KeyToValue("001")]
        public String Sex { get; set; }
        public DateTime? Birthday { get; set; }
        public String Telephone { get; set; }
        public String WorkType { get; set; }
        [KeyToValue("9002")]
        public Guid? JoinCompany { get; set; }
        public DateTime? JoinDate { get; set; }
        public Guid? WorkCompany { get; set; }
        [KeyToValue("9002", "WorkCompany")]
        public string WorkCompanyText { get; set; }
        
        public String IsBoth { get; set; }
        public String IsTrainPlan { get; set; }
        public String IsClause { get; set; }
        public Guid ClausePhone { get; set; }
        public string ClausePhonePath { get; set; }
        public Guid PhoneID { get; set; }
        
        public string PhotoPath { get; set; }
        public Guid SignID { get; set; }
        public string SignPath { get; set; }
        
        public String Remark { get; set; }
        public Guid? CreateFactory { get; set; }

        public String Mark01 { get; set; }
        public String Mark02 { get; set; }
        public String Mark03 { get; set; }
    }
}